package org.dromara.travel.domain.bo;

import org.dromara.travel.domain.FXcxInterestTags;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 用户兴趣标签业务对象 f_xcx_interest_tags
 *
 * @author zhangshuming
 * @date 2024-04-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = FXcxInterestTags.class, reverseConvertGenerate = false)
public class FXcxInterestTagsBo extends BaseEntity {

    /**
     * 活动ID，自增主键
     */
    @NotNull(message = "活动ID，自增主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 兴趣标签的名称
     */
    @NotBlank(message = "兴趣标签的名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 兴趣标签的简短描述
     */
    private String description;


}
